package com.huitu.whht.base.core.api.geo.pdo.entities;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.huitu.whht.api.core.common.base.BaseEntity;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeDeserializer;
import com.huitu.whht.api.core.common.base.MyLocalDateTimeSerializer;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * 说明: 入河排污口基本信息表实体类,表名称: WR_PDO_B <br/>
 * 日期: 2018-07-24
 *
 * @author ZhangPeng
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class GeoPdoB extends BaseEntity {

    private static final long serialVersionUID = 4L;

    /**
     * 入河排污口代码
     */
    private String pdoCd;
    /**
     * 入河排污口名称
     */
    private String pdoNm;
    /**
     * 地址
     */
    private String addr;
    /**
     * 入河排污口性质
     */
    private String pdoTp;
    /**
     * 建成日期
     */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime compDt;
    /**
     * 排放方式
     */
    private String emisTp;
    /**
     * 入河方式
     */
    private String inRvTp;
    /**
     * 设计日排污能力
     */
    private Double desPollCap;
    /**
     * 运行状况
     */
    private String runCond;
    /**
     * 时间戳
     */
    @JsonDeserialize(using = MyLocalDateTimeDeserializer.class)
    @JsonSerialize(using = MyLocalDateTimeSerializer.class)
    private LocalDateTime ts;
    /**
     * 备注
     */
    private String nt;
    /**
     * 污水分类
     */
    private String powTp;
    /**
     * 间歇或季节性排放周期
     */
    private String emisCyc;
    /**
     * 周期内排放次数
     */
    private Integer cycDnum;
    /**
     * 入河排污口规模
     */
    private String pdoSca;
    /**
     * 许可状态
     */
    private String perStu;
    /**
     * 监督性监测状态
     */
    private String morChe;
    /**
     * 排污口截面积
     */
    private Integer pdoSize;

}
